package com.lfy.fyadmin.service;

import com.lfy.fyadmin.entity.Group;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;

/**
* @author 53409
* @description 针对表【group(用户分组表)】的数据库操作Service
* @createDate 2025-07-23 21:51:27
*/
public interface GroupService extends IService<Group> {

    boolean updateSelective(Group group);
    
    /**
     * 删除分组及其关联资源
     * @param groupId 分组ID
     * @return 是否删除成功
     */
    boolean deleteGroupWithRelations(Long groupId);
}
